sgpb\SGPopup D

Total Complexity 339
Dependencies 6
Dependents 11
Total lines 1,812
Lines of code 1,243
Logical lines of code 778
Comment lines 180
Methods 95
Properties 14

Methods 95

Method Rating Maintainability Complexity Lines of code
find()
B
35 22 84
savePopupsFromContentClasses()
B
37 19 88
targetSave()
A
41 14 54
getSubPopupObj()
A
51 13 24
collectInsidePopupShortcodes()
A
50 12 27
parsePopupDataFromData()
A
49 11 29
getOptionValueFromSavedData()
A
51 11 26
getAllPopups()
A
49 10 32
customScriptsSave()
A
44 9 45
popupOptionsSave()
A
48 9 31
saveToTargetAndEvents()
A
45 8 45
eventsSave()
A
48 8 33
sanitizeValueByType()
S
52 7 28
popupShortcodesInsidePopup()
S
51 7 26
getSavedData()
S
54 7 22
convertImagesToData()
S
52 6 26
save()
S
53 6 24
renderPopupContentShortcode()
S
48 5 35
getPopupAllEvents()
S
55 6 19
getPopupShortcodeMatchesFromContent()
S
59 6 14
getActivePopupsQueryString()
S
51 5 25
create()
S
52 5 24
getPopupsIdAndTitle()
S
55 5 21
recursiveSanitizeTextField()
S
57 5 18
getPopupOptionsById()
S
58 5 14
changeDefaultOptionsByNames()
S
60 5 13
getPopupsByTermSlug()
S
52 4 27
createPopupTypeObjById()
S
53 4 22
getPopupTypes()
S
56 4 18
getContent()
S
57 4 18
shapeEventsToOneArray()
S
59 4 15
recursiveHtmlSpecialchars()
S
60 4 14
saveToEventsFromPage()
S
59 4 14
getDefaultDataByName()
S
63 4 12
sanitize_multidimensional_array()
S
62 4 11
getPopupOpeningCountById()
S
58 3 15
saveToTargetFromPage()
S
64 3 9
allowToLoadAJAX()
S
67 2 7
getTargetDataById()
S
68 2 7
getPostPopupCustomEvent()
S
67 2 8
getEventsDataById()
S
68 2 7
getOptionDefaultValue()
S
69 2 7
allowToLoad()
S
67 2 7
getStringNextNumbersByReg()
S
66 2 8
getCustomInsertedDataByPostId()
S
66 2 8
insertIntoSanitizedData()
S
72 2 5
getPopupTypeClassPath()
S
67 2 8
setSavedPopupById()
S
71 2 6
getCustomInsertedPopupEventsByPostId()
S
67 2 8
boolToChecked()
S
79 2 3
deletePostCustomInsertedData()
S
79 1 3
getPopupTypeMainView()
S
82 1 3
getRemoveOptions()
S
76 1 4
addAdditionalSettings()
S
82 1 3
getTablesSql()
S
81 1 3
deletePostCustomInsertedEvents()
S
79 1 3
deleteAnalyticsDataByPopupId()
S
71 1 5
getAnalyticsDataByPopupId()
S
69 1 6
getTableNames()
S
81 1 3
doInsideShortcode()
S
80 1 3
getSiteLocale()
S
72 1 5
getPopupTypeOptionsView()
S
82 1 3
setId()
S
81 1 3
getOptionValue()
S
69 1 6
getOptions()
S
82 1 3
setCurrentPageIdForAjax()
S
81 1 3
getCurrentPageIdForAjax()
S
81 1 3
setTitle()
S
81 1 3
getTitle()
S
82 1 3
setType()
S
81 1 3
getType()
S
82 1 3
setTarget()
S
81 1 3
getTarget()
S
82 1 3
setEvents()
S
81 1 3
getEvents()
S
82 1 3
setConditions()
S
81 1 3
getConditions()
S
82 1 3
setOptions()
S
81 1 3
setLoadableModes()
S
81 1 3
getId()
S
81 1 3
getLoadableModes()
S
82 1 3
setSaveMode()
S
81 1 3
getSaveMode()
S
82 1 3
setSavedPopup()
S
81 1 3
getSavedPopup()
S
82 1 3
setContent()
S
81 1 3
setReportData()
S
63 1 10
setPostData()
S
79 1 3
getPostData()
S
82 1 3
getPopupTypeContent()
S
81 1 3
getExtraRenderOptions()
S
100 1 0
setSanitizedData()
S
81 1 3
getSanitizedData()
S
82 1 3
getPopupClassNameFormType()
S
71 1 5
isActive()
S
79 1 3